package flowmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ FlowStatusMapModel = (*customFlowStatusMapModel)(nil)

type (
	// FlowStatusMapModel is an interface to be customized, add more methods here,
	// and implement the added methods in customFlowStatusMapModel.
	FlowStatusMapModel interface {
		flowStatusMapModel
	}

	customFlowStatusMapModel struct {
		*defaultFlowStatusMapModel
	}
)

// NewFlowStatusMapModel returns a model for the database table.
func NewFlowStatusMapModel(conn sqlx.SqlConn) FlowStatusMapModel {
	return &customFlowStatusMapModel{
		defaultFlowStatusMapModel: newFlowStatusMapModel(conn),
	}
}
